package com.enitiy;


import java.sql.Date;

public class User {

  private int uid;
  private int unum;
  private String name;
  private String pwd;
  private int age;
  private String sex;
  private String phone;
  private java.sql.Date startime;
  private int kid;
  private String img;

  public User() {
  }

  public User(int unum, String pwd) {
    this.unum = unum;
    this.pwd = pwd;
  }


  public User(int unum, String name, String pwd, int age, String sex, String phone, int kid) {
    this.unum = unum;
    this.name = name;
    this.pwd = pwd;
    this.age = age;
    this.sex = sex;
    this.phone = phone;
    this.kid = kid;
  }

  public int getUid() {
    return uid;
  }

  public void setUid(int uid) {
    this.uid = uid;
  }

  public User(int unum, String name, String pwd, int age, String sex, String phone, Date startime, int kid) {
    this.unum = unum;
    this.name = name;
    this.pwd = pwd;
    this.age = age;
    this.sex = sex;
    this.phone = phone;
    this.startime = startime;
    this.kid = kid;
  }

  public int getUnum() {
    return unum;
  }

  public void setUnum(int unum) {
    this.unum = unum;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }


  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public java.sql.Date getStartime() {
    return startime;
  }

  public void setStartime(java.sql.Date startime) {
    this.startime = startime;
  }


  public int getKid() {
    return kid;
  }

  public void setKid(int kid) {
    this.kid = kid;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }

  @Override
  public String toString() {
    return "User{" +
            "uid=" + uid +
            ", unum=" + unum +
            ", name='" + name + '\'' +
            ", pwd='" + pwd + '\'' +
            ", age=" + age +
            ", sex='" + sex + '\'' +
            ", phone=" + phone +
            ", startime=" + startime +
            ", kid=" + kid +
            ", img='" + img + '\'' +
            '}';
  }
}
